<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="../css/common/weui.css"/>
    <link rel="stylesheet" href="../css/common/weuix.css"/>
    <link rel="stylesheet" href="../css/common/common.css"/>
    
    <script src="../js/common/utils/zepto.min.js"></script>
    <script src="../js/common/utils/zepto.weui.js"></script>
    <script src="../js/common/common.js"></script>
	<script src="../js/shop_index.js"></script>
	<script src="../js/common/utils/template-web.js"></script>
	<script src="../js/common/utils/swipe.js"></script>
    <script type="text/javascript">
       
    </script>

</head>
<body ontouchstart>
	<!-- 页面头部 -->
	<div class="index-header-container">
		<div id="header_menu">
			<div class="weui-cell">
				<div class="weui-cell__bd">
					<strong><p id="shop_name"></p></strong>
				</div>
			</div>
		</div>
	</div>
	
	<!-- 页面内容 -->
	<div class="index-body-container">
		
		<div class="slide" id="slide2">
			<ul style="transition: all 0.3s cubic-bezier(0.22, 0.69, 0.72, 0.88) 0s; transform: translate3d(-414px, 0px, 0px);">
				<li style="transition: all 0s cubic-bezier(0.22, 0.69, 0.72, 0.88) 0s; transform: translate3d(-414px, 0px, 0px);">
					<a href="javascript:;">
						<img src="../images/kyyx.jpg" alt="">
					</a>

				</li>
				<li style="transition: all 0s cubic-bezier(0.22, 0.69, 0.72, 0.88) 0s; transform: translate3d(0px, 0px, 0px);">
					<a href="javascript:;">
						<img src="../images/zgjy.jpg" alt="">
					</a>
	
				</li>
				
				<li style="transition: all 0s cubic-bezier(0.22, 0.69, 0.72, 0.88) 0s; transform: translate3d(0px, 0px, 0px);">
					<a href="javascript:;">
						<img src="../images/jjdy.jpg" alt="">
					</a>
					
				</li>
			</ul>
			
		</div>
		
		<div class="weui-grids" id="div_navs">
		    <a href="javascript:;" class="weui-grid js_grid" data-type="2">
		        <div class="weui-grid__icon">
		            <img src="../images/kuaidi.png" alt="">
		        </div>
		        <p class="weui-grid__label">
		            配送发药
		        </p>
		    </a>
		    <a href="javascript:;" class="weui-grid js_grid" data-type="1">
		        <div class="weui-grid__icon">
		            <img src="../images/ziqu.png" alt="">
		        </div>
		        <p class="weui-grid__label">
		            自取发药
		        </p>
		    </a>
		    <a href="javascript:;" class="weui-grid js_grid">
		        <div class="weui-grid__icon">
		            <img src="../images/jinqian.jpg" alt="">
		        </div>
		        <p class="weui-grid__label">
		            购药处方
		        </p>
		    </a>
		</div>
		
		<div class="news-list">
			<div class="weui-cells__title">最新消息</div>
			<div class="weui-panel__bd" id="shop_news_list">
				
			</div>
		</div>
	</div>
	
	<!-- 页面底部 -->
	<div class="footer-container">
		<div id="footer_menu"></div>
	</div>
	
	<!-- 最新消息列表 -->
	<script id="shopNewsList" type="text/html">
	   {{each list as value}}
			<a href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg" data-Iid={{value.indent_no}} data-Pid={{value.prescription_id}}>
				<div class="weui-media-box__hd">
					<img class="weui-media-box__thumb" src="../images/timg.jpg" alt="">
				</div>
				<div class="weui-media-box__bd">
					<h4 class="weui-media-box__title">{{value.patient_name === "" ? "李景" : value.patient_name}}</h4>
					<p class="weui-media-box__desc first-p">订单号: {{value.indent_no}} </p>
					<p class="weui-media-box__desc last-p">{{value.create_time}} </p>
				</div>
				<div class="weui-cell__ft">
					<p class="first-p">{{value.indent_state}}</p>
					<p class="last-p">{{value.pay_status === "0" ? "未支付" : "已支付"}}</p>
					<p class="last-p">{{value.indent_total}}元</p>
				</div>
			</a>
		{{/each}}
	</script>
	
	<!-- 暂无数据 -->
	<script id="noData" type="text/html">
		<div class="weui-msgbox" style="opacity: 1; height: 100px; border-top: #F3F3F3 1px solid;" id="s3">
		    <p>
		        <i class="weui-icon-info-circle"></i>暂无数据
		    </p>
		</div>
	</script>
</body>

</html>
